package com.ruoyi.company.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 单位对象 xlkj_company
 *
 * @author wang
 * @date 2022-01-11
 */
public class XlkjCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String companyCode;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String companyType;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String name;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String socialCode;

    /** 单位英文名称 */
    @Excel(name = "单位英文名称")
    private String foreignName;

    /** 单位英文缩写 */
    @Excel(name = "单位英文缩写")
    private String foreignNameAbbreviation;

    /** 重点单位标识 */
    @Excel(name = "重点单位标识")
    private String identification;

    /** 经济类型 */
    @Excel(name = "经济类型")
    private String economicsType;

    /** 行业类别 */
    @Excel(name = "行业类别")
    private String industryType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 所属网格
     * @param id
     */
    @Excel(name = "所属网格")
    private String departmentId;

    private String departmentList;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String status;

    /** 上报者id */
    @Excel(name = "上报者")
    private Long userId;

    private String username;

    private SysUser sysUser;

    /**
     * 大数据驾驶舱使用字段
     * @return
     */
    @Transient
    private String na;

    public String getNa() {
        return na;
    }

    public void setNa(String na) {
        this.na = na;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDepartmentList() {
        return departmentList;
    }

    public void setDepartmentList(String departmentList) {
        this.departmentList = departmentList;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompanyCode(String companyCode)
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode()
    {
        return companyCode;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSocialCode(String socialCode)
    {
        this.socialCode = socialCode;
    }

    public String getSocialCode()
    {
        return socialCode;
    }
    public void setForeignName(String foreignName)
    {
        this.foreignName = foreignName;
    }

    public String getForeignName()
    {
        return foreignName;
    }
    public void setForeignNameAbbreviation(String foreignNameAbbreviation)
    {
        this.foreignNameAbbreviation = foreignNameAbbreviation;
    }

    public String getForeignNameAbbreviation()
    {
        return foreignNameAbbreviation;
    }
    public void setIdentification(String identification)
    {
        this.identification = identification;
    }

    public String getIdentification()
    {
        return identification;
    }
    public void setEconomicsType(String economicsType)
    {
        this.economicsType = economicsType;
    }

    public String getEconomicsType()
    {
        return economicsType;
    }
    public void setIndustryType(String industryType)
    {
        this.industryType = industryType;
    }

    public String getIndustryType()
    {
        return industryType;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyCode", getCompanyCode())
            .append("companyType", getCompanyType())
            .append("name", getName())
            .append("socialCode", getSocialCode())
            .append("foreignName", getForeignName())
            .append("foreignNameAbbreviation", getForeignNameAbbreviation())
            .append("identification", getIdentification())
            .append("economicsType", getEconomicsType())
            .append("industryType", getIndustryType())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
